package com.ruoyi.train.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.train.domain.CertApplication;
import org.apache.ibatis.annotations.Mapper;

/**
 * 办证申请Mapper接口
 * 
 * @author wusihao
 * @date 2023-04-18
 */
@Mapper
public interface CertApplicationMapper extends BaseMapper<CertApplication>
{
    /**
     * 查询办证申请
     * 
     * @param id 办证申请主键
     * @return 办证申请
     */
    public CertApplication selectCertApplicationById(Long id);

    /**
     * 查询办证申请列表
     * 
     * @param certApplication 办证申请
     * @return 办证申请集合
     */
    public List<CertApplication> selectCertApplicationList(CertApplication certApplication);

    /**
     * 新增办证申请
     * 
     * @param certApplication 办证申请
     * @return 结果
     */
    public int insertCertApplication(CertApplication certApplication);

    /**
     * 修改办证申请
     * 
     * @param certApplication 办证申请
     * @return 结果
     */
    public int updateCertApplication(CertApplication certApplication);

    /**
     * 删除办证申请
     * 
     * @param id 办证申请主键
     * @return 结果
     */
    public int deleteCertApplicationById(Long id);

    /**
     * 批量删除办证申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCertApplicationByIds(Long[] ids);
}
